package com.example.jiaju.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class BBS {


    @SerializedName("msg")
    public String msg;
    @SerializedName("code")
    public Integer code;
    @SerializedName("page")
    public List<PageDTO> page;

    @NoArgsConstructor
    @Data
    public static class PageDTO implements Serializable {
        @SerializedName("bbsId")
        public Integer bbsId;
        @SerializedName("bbsKind")
        public Integer bbsKind;
        @SerializedName("userId")
        public Integer userId;
        @SerializedName("userName")
        public String userName;
        @SerializedName("bbsTheme")
        public String bbsTheme;
        @SerializedName("bbsLike")
        public Integer bbsLike;
        @SerializedName("bbsColl")
        public Integer bbsColl;
        @SerializedName("bbsVedio")
        public String bbsVedio;
        @SerializedName("bbsDetail")
        public String bbsDetail;
        @SerializedName("bbsDatetime")
        public String bbsDatetime;
    }
}
